Smartling\Helpers\SiteHelper S

Total Complexity 37
Dependencies 8
Dependents 12
Total lines 247
Lines of code 128
Logical lines of code 69
Comment lines 46
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
restoreBlogId()
S
63 4 10
switchBlogId()
S
60 3 13
cacheSites()
S
64 3 9
listBlogs()
S
63 3 10
resetBlog()
S
64 3 10
getBlogLabelById()
S
72 2 5
directRunDetectedFallback()
S
67 2 8
listSites()
S
71 2 6
getCurrentSiteId()
S
72 2 6
getCurrentBlogId()
S
72 2 6
getCurrentUserLogin()
S
69 2 7
getTermTypes()
S
77 1 4
getPostTypes()
S
79 1 3
getCurrentBlogLocale()
S
80 1 3
getInitialBlogId()
S
82 1 3
getBlogNameById()
S
71 1 6
withBlog()
S
69 1 8
__construct()
S
76 1 4
listBlogIdsFlat()
S
77 1 4
getLogger()
S
82 1 3